<table class="xsui-table xsui-table-striped xsui-table-hover xsui-table-bordered">
    <thead>
        <tr>
            <th>用户名</th>
            <th>姓名</th>
            <th>性别</th>
            <th>手机号码</th>
            <th>证件类型</th>
            <th>证件号码</th>
            <th>联系地址</th>
            <th>用户状态</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr data-key="{$vo.id}">
            <td>{$vo.user_name}</td>
            <td>{$vo.name}</td>
            <td>{$vo.sex|sofn_get_state_text=###,'sex'}</td>
            <td>{$vo.mobile}</td>
            <td>{$vo.id_type}</td>
            <td>{$vo.id_no}</td>
            <td>{$vo.street}</td>
        <td>{$vo.status|sofn_get_state_text='user-state',###}</td>
        <td>{$vo.createdTime}</td>
        <td>
            <ul class="xsui-operate-group">
                <li><a href="#" class="xsui-btn ui-state-default xsui-icon-right">操作<i class="fa fa-caret-square-o-down"></i></a>
                    <ul>
                        <li><a href="{:U('user_edit','id='.$vo['id'])}" class="lnk-edit" data-id="{$vo.id}" title="编辑 {$vo.user_name}"><i class="fa fa-edit fa-fw"></i>编辑</a></li>
                        <li><a href="{:U('user_delete','id='.$vo['id'])}" class="lnk-remove" data-confirm="{'code':'zhan123'}" data-id="{$vo.id}" title="删除 {$vo.user_name}"><i class="fa fa-remove fa-fw"></i>删除</a></li>
                        <li><a href="{:U('user_password_reset','id='.$vo['id'])}" class="lnk-confirm" data-id="{$vo.id}" data-confirm="您确定要将密码重置为123456吗?"><i class="fa fa-user-secret fa-fw"></i>重置密码</a></li>
                    </ul>
                </li>
            </ul>
        </td>
        </tr>
    </foreach>
</tbody>
</table>
<div class="xsui-pagination">{$page}</div>